package cn.yzc.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * (Task)实体类
 *
 * @author makejava
 * @since 2023-10-25 15:41:54
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Task {

    public Integer id;

    private Integer categoryId;

    private String subject;

    private String content;

    private String level;
    /**
     * 1 未开始 2 进行中 3 已完成
     */
    private Integer status;

    private String begin;

    private String end;
    /**
     * 1 不提醒 2 提前 3 开始前30分钟 4 开始前1小时 5 开始前1天
     */
    private Integer remind;

    private String adduser;

    private Date adddate;

    private Date updatedate;
    /**
     * 0 未删除 1 已删除
     */
    private int isdel;


    private List<UserTask> userTaskList;

    private List<TaskAttachment> attachmentList;

    private List<String> userList;

}

